package com.lrkj.back;

import com.lrkj.back.controller.CommonInterceptor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.MutablePropertyValues;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.BeanDefinitionReader;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor;
import org.springframework.beans.factory.support.BeanNameGenerator;
import org.springframework.context.annotation.*;


/**
 * Created by daiwe on 2017/7/8.
 */
@Configuration
public class MyBeanDefinitonRegistryPostProcessor  {

    @Bean
    public CommonInterceptor commonInterceptor(){
        return  new CommonInterceptor();
    }

    @Bean
    public StartUpOnLoadData startUpOnLoadData(){
        return  new StartUpOnLoadData();
    }

    @Bean
    public PBSTrackManagerPostProcessor pbsTrackManagerPostProcessor(){
        return  new PBSTrackManagerPostProcessor();
    }

}
